package com.hnust.root.service.file;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @Author zhusir
 * @Date 2019/2/1
 * @Desc OSS文件上传服务
 */
public interface IOSSService {

    String upload(MultipartFile file, String catalogue) throws IOException;

    boolean downloadFile(String fileUrl, String localFileName);
}
